<?php
if(!defined('PATH')) exit();
?>
<br />
<form action="<?=PATH?>/account/character/edition/" method="post">
<table border="0" cellpadding="8" cellspacing="1" width="100%">
<tr><td colspan="2" class="head"><b>Character deletion</b></td></tr>
<tr><td width="20%">Character:</td><td>
<select name="character">
<?php
$characters = $account->getPlayersList();
$characters->orderBy('name');

foreach($characters as $row)
{
	if (!$row->isDeleted()) {
?>
<option value="<?=$row->getName()?>"><?=$row->getName()?></option>
<?php
	}
}
?>
</select>
</td></tr>
<tr><td colspan="2"><input type="submit" value="Edit" /></td></tr>
</table>
</form>